package com.angel.dao.health;

import com.angel.health.BuzRiskFactors;
import com.angel.health.BuzRiskFactorsExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface BuzRiskFactorsMapper {
    int countByExample(BuzRiskFactorsExample example);

    int deleteByExample(BuzRiskFactorsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BuzRiskFactors record);

    int insertSelective(BuzRiskFactors record);

    List<BuzRiskFactors> selectByExample(BuzRiskFactorsExample example);

    BuzRiskFactors selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BuzRiskFactors record, @Param("example") BuzRiskFactorsExample example);

    int updateByExample(@Param("record") BuzRiskFactors record, @Param("example") BuzRiskFactorsExample example);

    int updateByPrimaryKeySelective(BuzRiskFactors record);

    int updateByPrimaryKey(BuzRiskFactors record);
    
    List<Map<String,Object>> findRiskFactors(BuzRiskFactors record);
}